package com.uwo.commons.redis.configuration;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注解启用redis
 * @author hao.yan
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Import(value = {
        RedisProperties.class,
        RedisConfiguration.class
})
@Configuration
public @interface EnableRedis {

}
